package com.baor.dao;

import com.baor.domain.RoleVo;
import com.github.yulichang.base.mapper.MPJJoinMapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface RoleDao extends MPJJoinMapper<RoleVo> {
    List<RoleVo> roleList(Map<String,Object> params);
    Map<String,Object> findPageCount(Map<String,Object> params);
    int insert(Map<String,Object> params);
    int update(Map<String,Object> params);
    int roleStatus(int roleId);
    int findRoleId();
}
